/*
 *    Copyright (c) 2018-2025, fanxl All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: fanxl (xunlian_fan001@126.com)
 */

package com.taiji.dicom4cloud.smart.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author fanxl
 * @date 2021-07-06 10:46:51
 */
@Data
@TableName("t_alarm_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class RfidRecord extends Model<RfidRecord> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ApiModelProperty(value="")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 设备类型
     */
    private String type;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String equipmentName;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String rfidEquipmentId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String flag;

    /**
     *
     */
    @ApiModelProperty(value="")

    private String carId;
    /**
     *
     */
    @ApiModelProperty(value="")
    private String carName;
    /**
     *
     */
    @ApiModelProperty(value="")
    private String ownerId;
    /**
     *
     */
    @ApiModelProperty(value="")
    private String ownerName;

    /**
     * 卡号
     */
    @ApiModelProperty(value="卡号")
    private String rfidCardNo;

    @ApiModelProperty(value="是否预警")
    private String isAlarm;

    /**
     *
     */
    @ApiModelProperty(value="")
    private String equipmentId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String orgId;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String orgName;
    /**
     * 
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 是否接警Y:是
     */
    private String isDeal;

    /**
     * 是否是误报数据：1，是
     */
    private Integer isError;

    /**
     * 经度
     */
    @ApiModelProperty(value="经度")
    private Double longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(value="纬度")
    private Double latitude;

    /**
     * 消息id
     */
    private Short messageId;

    /**
     * 消息名字
     */
    private String messageName;

    /**
     * 消息类型
     */
    private Short alarmType;

    /**
     * 预警名称
     */
    private String alarmName;

    /**
     * 预警数据
     */
    private Float alarmRealData;

    /**
     * 设置数据
     */
    private Float alarmSetData;

    /**
     * 预警时间
     */
    private LocalDateTime alarmTime;

    /**
     * 摄像头消息ID
     */
    private String cameraMessageId;

    /**
     * 摄像头抓图URL
     */
    private String cameraCaptureUrl;

    /**
     * 摄像头HLS直播地址
     */
    private String cameraHlsUrl;
}
